package com.libinshen.wxpay.login.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.libinshen.wxpay.login.entity.SoftWareInfo;
import com.libinshen.wxpay.login.entity.miniapp.AppAuthLoginRespVO;
import com.libinshen.wxpay.login.entity.miniapp.AuthLoginReqVO;

import javax.servlet.http.HttpServletRequest;

public interface UserInfoService extends IService<com.libinshen.wxpay.login.entity.miniapp.AuthLoginReqVO> {

    AppAuthLoginRespVO register(AuthLoginReqVO user, HttpServletRequest request);

    AppAuthLoginRespVO login(AuthLoginReqVO user);

    void signOut(Long userId);

    void logOut(AuthLoginReqVO authLoginReqVO);

    void lockSoftWare(AuthLoginReqVO authLoginReqVO);

    void updateUserInfo(AuthLoginReqVO authLoginReqVO);

    SoftWareInfo getSoftWareInfomation();
}
